WPForms\Integrations\Stripe\Process C

Total Complexity 103
Dependencies 4
Dependents 1
Total lines 879
Lines of code 401
Logical lines of code 227
Comment lines 303
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
prepare_payment_meta()
A
47 8 35
process_payment_single()
A
50 8 26
update_credit_card_field_value()
A
55 8 16
process_payment_subscription()
S
50 7 28
get_entry_errors()
S
57 7 16
is_card_field_visibility_ok()
S
57 6 17
display_error()
S
58 6 15
process_payment_saved()
S
45 3 46
process_email()
S
59 5 15
process_entry()
S
54 4 23
prepare_payment_data()
S
55 4 19
get_customer_email()
S
60 4 14
process_card_error()
S
62 4 12
process_api_error()
S
58 3 17
is_process_entry_error()
S
63 4 10
process_entry_data()
S
59 3 15
log_error()
S
59 3 14
process_payment()
S
61 3 13
get_customer_name()
S
63 3 11
get_payment_title()
S
65 3 11
get_payment_type()
S
66 3 9
is_rate_limit_ok()
S
81 1 3
init()
S
77 1 4
hooks()
S
63 1 9
get_decimals_amount()
S
77 1 3